/*
 * NodoCargo.h
 *
 *  Created on: 13/10/2011
 *      Author: mario
 */

#ifndef NODOCARGO_H_
#define NODOCARGO_H_

#include "../src/Cargo.h"
#include "Node.h"

class NodoCargo  : public Node{
private:
	Cargo* data;
public:
	NodoCargo();
	virtual ~NodoCargo();
	/**
	 * Gets node value
	 */
	Cargo* getNodeValue() const;
	/**
	 * Sets node value
	 */
	void setNodeValue(Cargo* value);
	/**
	 * Copy Constructor
	 */
	NodoCargo(const NodoCargo &nodoCargo);
	/**
	 * Operator '='
	 */
	NodoCargo& operator=(const NodoCargo &nodoCargo);
	/**
	 * Virtual clone to implement. Virtual copy constructor.
	 */
	virtual NodoCargo* clone() const;
	/**
	 * Virtual implementation of equals
	 */
	virtual bool equals(const Node& node) const;
};

#endif /* NODOCARGO_H_ */
